# -*- coding: utf-8 -*-
from requests_html import HTMLSession


class MockWDZJ:

    def __init__(self, sign_data_url: str) -> None:
        super().__init__()
        self.sign_data_url = sign_data_url

    def obtain_sign_data(self):
        session = HTMLSession()
        print('*' * 10, '开始请求', '*' * 10)
        res = session.get('http://wwww.baidu.com')
        print(res.html.html)

    def parse_qsbk_text(self):
        session = HTMLSession()
        print('*' * 10, '开始请求糗事百科', '*' * 10)
        res = session.get('https://www.qiushibaike.com/text/')
        print(res.html.html)
